package com.jnevision.attendancegroup.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * <p>
 * 考勤组
 * </p>
 *
 * @author gavin
 * @since 2019-07-21
 */
@TableName("b_attendance_group")
public class AttendanceGroup extends Model<AttendanceGroup> {
    private static final long serialVersionUID = -6704859662447092431L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 组名称
     */
    @TableField("name")
    private String name;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private String createTime;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Integer deptId;

    /**
     * 上午开始时间
     */
    @TableField("morning_start")
    private String morningStart;

    /**
     * 上午结束时间
     */
    @TableField("morning_end")
    private String morningEnd;

    /**
     * 下午开始时间
     */
    @TableField("afternoon_start")
    private String afternoonStart;

    /**
     * 下午结束时间
     */
    @TableField("afternoon_end")
    private String afternoonEnd;

    /**
     * 考勤周期---月份，yyyy-MM
     */
    @TableField("attendance_cycle")
    private String attendanceCycle;

    /**
     * 补卡次数
     */
    @TableField("replace_card_num")
    private String replaceCardNum;

    /**
     * 请假周期-超过这个时间需有项目经理审批
     */
    @TableField("leave_duration")
    private String leaveDuration;

    /**
     * 旷工工资
     */
    @TableField("absenteeism")
    private String absenteeism;
    

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public String getMorningStart() {
        return morningStart;
    }

    public void setMorningStart(String morningStart) {
        this.morningStart = morningStart;
    }

    public String getMorningEnd() {
        return morningEnd;
    }

    public void setMorningEnd(String morningEnd) {
        this.morningEnd = morningEnd;
    }

    public String getAfternoonStart() {
        return afternoonStart;
    }

    public void setAfternoonStart(String afternoonStart) {
        this.afternoonStart = afternoonStart;
    }

    public String getAfternoonEnd() {
        return afternoonEnd;
    }

    public void setAfternoonEnd(String afternoonEnd) {
        this.afternoonEnd = afternoonEnd;
    }

    public String getAttendanceCycle() {
        return attendanceCycle;
    }

    public void setAttendanceCycle(String attendanceCycle) {
        this.attendanceCycle = attendanceCycle;
    }

    public String getReplaceCardNum() {
        return replaceCardNum;
    }

    public void setReplaceCardNum(String replaceCardNum) {
        this.replaceCardNum = replaceCardNum;
    }

    public String getLeaveDuration() {
        return leaveDuration;
    }

    public void setLeaveDuration(String leaveDuration) {
        this.leaveDuration = leaveDuration;
    }

    public String getAbsenteeism() {
        return absenteeism;
    }

    public void setAbsenteeism(String absenteeism) {
        this.absenteeism = absenteeism;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "AttendanceGroup{" + "id=" + id + ", name=" + name + ", createTime=" + createTime + ", deptId=" + deptId
            + ", morningStart=" + morningStart + ", morningEnd=" + morningEnd + ", afternoonStart=" + afternoonStart
            + ", afternoonEnd=" + afternoonEnd + ", attendanceCycle=" + attendanceCycle + ", replaceCardNum="
            + replaceCardNum + ", leaveDuration=" + leaveDuration + ", absenteeism=" + absenteeism + "}";
    }
}